package ui.activity.order.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.order.biz.ConfirmOrderBiz;
import ui.activity.order.contract.ConfirmOrderContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class ConfirmOrderModule {
    private ConfirmOrderContract.View view;

    public ConfirmOrderModule(ConfirmOrderContract.View view) {
        this.view = view;
    }

    @Provides
    public ConfirmOrderContract.View provideView() {
        return view;
    }

    @Provides
    public ConfirmOrderBiz provideBiz() {
        return new ConfirmOrderBiz();
    }
}